package _14_zhongjiezhe_pattern.useModel;

/**
 * @Description: 采购管理
 * @Auther: 2019/5/17 17:30 by zhang.jy
 */
public class Purchase extends AbstractColleague {
	public Purchase(AbstractMediator _mediator) {
		super(_mediator);
	}

	//采购IBM电脑
	public void buyIBMcomputer(int number) {
		super.mediator.execute("purchase.buy", number);
	}

	//不再采购IBM电脑
	public void refuseBuyIBM() {
		System.out.println("不再采购IBM电脑");
	}
}